projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a78c106
)
(isearch-yank): Handle case when CHUNK is `x-sel'.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 8 Mar 1997 19:08:39 +0000
(19:08 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 8 Mar 1997 19:08:39 +0000
(19:08 +0000)
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index 28e2c1884b276a0e4ef4905eca263d5fd5fd393c..f2536570e98bc3ded93a440b37fbdcbc5690f22c 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-891,10
+891,12
@@
If no previous match was done, just beep."
(defun isearch-yank (chunk)
;; Helper for isearch-yank-word and isearch-yank-line
- ;; CHUNK should be word, line
or kil
l.
+ ;; CHUNK should be word, line
, kill, or x-se
l.
(let ((string (cond
((eq chunk 'kill)
(current-kill 0))
+ ((eq chunk 'x-sel)
+ (x-get-selection))
(t
(save-excursion
(and (not isearch-forward) isearch-other-end